package edu.fdzc.system.mapper;

import edu.fdzc.system.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    void add(Article article);

    void updateById(Article article);

    void deleteById(Integer id);

    Article selectById(Integer id);

    List<Article> selectAll(Article article);
}
